package com.qaml.aliyundevopstest.mapper;

import com.qaml.aliyundevopstest.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @Author scott
 * @since 2018-12-20
 */
@Mapper
public interface SysUserMapper{
	/**
	  * 通过用户账号查询用户信息
	 * @param username
	 * @return
	 */
	User getUserByName(@Param("username") String username);

	List<User> getUserList();
}
